package yxy.game.pm2.active.module.subordinateclass.ghost;

import yxy.apple.util.RandomUtility.Weight;
import yxy.game.pm2.bean.Currency;

public class GhostRandom implements Weight {
	
	private Currency cur;
	private int percent;	//权重
	
	public GhostRandom(Currency cur, int percent) {
		this.cur = cur;
		this.percent = percent;
	}

	public Currency getCur() {
		return cur;
	}
	public void setCur(Currency cur) {
		this.cur = cur;
	}
	public int getPercent() {
		return percent;
	}
	public void setPercent(int percent) {
		this.percent = percent;
	}

	@Override
	public int getWeight() {
		return percent;
	}

}
